from django.db import models


# Create your models here.
class Ashop(models.Model):
    name = models.CharField(max_length=50)
    price = models.DecimalField(max_digits=5, decimal_places=2)
    pic = models.ImageField()

    class Meta:
        db_table = "Ashop"


class Bshop(models.Model):
    name = models.CharField(max_length=50)
    price = models.DecimalField(max_digits=5, decimal_places=2)
    pic = models.ImageField()

    class Meta:
        db_table = "Bshop"


class Users(models.Model):
    username = models.CharField(max_length=100)
    password = models.CharField(max_length=200)
    class Meta:
        db_table = "Users"
